Date Question
AutomatR.GoogleForms.Activities.DateQuestion
The "Date Question" activity in AutomatR is part of the Google Forms activities package, allowing the automation process to create a new date-related question within a Google Form. This activity simplifies the process of adding date-based queries to forms and provides various configuration options.
Properties
Name | Description |
---|---|
Input | |
Form ID | The unique identifier of the form where the date question should be added. String variables containing the Form ID. This field is required. |
Title | The title of the date question. String variables containing the title of the question. This field is required. |
Description | The description or additional information related to the date question. String variables containing the description. |
Required | Indicates whether the date question is required or not. Boolean variables containing the requirement status. |
Location | The location or position where the question should be created within the form. Integer variables containing the location index. |
Include Year | Specifies whether the date question includes the year value. Boolean variables indicating whether to include the year. |
Include Time | Specifies whether the date question includes the time value. Boolean variables indicating whether to include the time. |
Miscellaneous | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before starting the activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Returns the response as Form Details in a BatchUpdateFormResponse format. Variables of type BatchUpdateFormResponse to store the response. |
How to use:
- Drag and drop the "Date Question" activity onto the workflow.
- Configure the properties by specifying the form ID, title, and optional settings such as description, requirement status, location, year inclusion, and time inclusion.
- Optionally, configure the delay before starting the activity.
- Execute the workflow to add a date question to the specified Google Form.
Example:
Consider an example where the "Date Question" activity is used to add a required date question titled "Event Date" with a description, located at index 3, including the year and time to a Google Form:
Date Question:
Form ID: "formId"
Title: "Event Date"
Description: "Select the date of the event"
Required: true
Location: 3
Include Year: true
Include Time: true
Delay: 2
Result: formResponse
In this example, the activity adds a date question to the specified Google Form with the provided configuration. The response is stored in the variable "formResponse" for further handling in the workflow.